<template>
	<view style="padding: 30rpx;">
			<view>horizontal scroll 纵向滚动</view>
			<view>
				<scroll-view class="scroll-y" :scroll-y="true">
					<view class="scroll-view-item smart-bg-red">A</view>
					<view class="scroll-view-item smart-bg-blue">B</view>
					<view class="scroll-view-item smart-bg-green">C</view>
				</scroll-view>
			</view>
			
			<view>horizontal scroll 横向滚动</view>
			<view>
				<scroll-view class="scroll-x" :scroll-x="true" scroll-left="120">
					<view class="scroll-view-item-h smart-bg-red">A</view>
					<view class="scroll-view-item-h smart-bg-blue">B</view>
					<view class="scroll-view-item-h smart-bg-green">C</view>
				</scroll-view>
			</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>